.class Lrexsee/barcode/RexseeBarcode$1;
.super Lrexsee/barcode/BarcodeCaptureDialog$OnScanSuccessed;
.source "RexseeBarcode.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/barcode/RexseeBarcode;->start(ZZZ)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/barcode/RexseeBarcode;


# direct methods
.method constructor <init>(Lrexsee/barcode/RexseeBarcode;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/barcode/RexseeBarcode$1;->this$0:Lrexsee/barcode/RexseeBarcode;

    .line 39
    invoke-direct {p0}, Lrexsee/barcode/BarcodeCaptureDialog$OnScanSuccessed;-><init>()V

    return-void
.end method


# virtual methods
.method public run(Landroid/content/Context;Landroid/graphics/Bitmap;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 6
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "bitmap"    # Landroid/graphics/Bitmap;
    .param p3, "format"    # Ljava/lang/String;
    .param p4, "text"    # Ljava/lang/String;
    .param p5, "type"    # Ljava/lang/String;
    .param p6, "metaData"    # Ljava/lang/String;
    .param p7, "content"    # Ljava/lang/String;

    .prologue
    const/4 v5, 0x1

    const/4 v4, 0x0

    .line 42
    if-nez p4, :cond_0

    if-nez p5, :cond_0

    if-nez p7, :cond_0

    .line 43
    iget-object v0, p0, Lrexsee/barcode/RexseeBarcode$1;->this$0:Lrexsee/barcode/RexseeBarcode;

    # getter for: Lrexsee/barcode/RexseeBarcode;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/barcode/RexseeBarcode;->access$0(Lrexsee/barcode/RexseeBarcode;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v0, v0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onBarcodeScanFailed"

    new-array v2, v5, [Ljava/lang/String;

    const-string v3, "User canceled."

    aput-object v3, v2, v4

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    .line 47
    :goto_0
    return-void

    .line 45
    :cond_0
    iget-object v0, p0, Lrexsee/barcode/RexseeBarcode$1;->this$0:Lrexsee/barcode/RexseeBarcode;

    # getter for: Lrexsee/barcode/RexseeBarcode;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/barcode/RexseeBarcode;->access$0(Lrexsee/barcode/RexseeBarcode;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v0, v0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onBarcodeScanSuccessed"

    const/4 v2, 0x5

    new-array v2, v2, [Ljava/lang/String;

    invoke-static {p4}, Lrexsee/core/utilities/Escape;->escape(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v4

    invoke-static {p3}, Lrexsee/core/utilities/Escape;->escape(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v5

    const/4 v3, 0x2

    invoke-static {p5}, Lrexsee/core/utilities/Escape;->escape(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x3

    invoke-static {p6}, Lrexsee/core/utilities/Escape;->escape(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x4

    invoke-static {p7}, Lrexsee/core/utilities/Escape;->escape(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    goto :goto_0
.end method
